﻿ALTER TABLE [dbo].[DETALLEPEDIDO] ADD
CONSTRAINT [FK_DETALLEP_REFERENCE_LOTES] FOREIGN KEY ([IDLOTE]) REFERENCES [dbo].[LOTES] ([IDLOTE])


